package com.hbpu.usercenter.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用于接收前端参数的Request对象
 */
@Data
public class UpdateTeamRequest implements Serializable {
    @Schema(hidden = true)
    @Serial
    private static final long serialVersionUID = -631608909884232002L;

    /**
     * 队伍id
     */
    @Schema(description = "队伍id")
    private Long id;

    /**
     * 队伍名称
     */
    @Schema(description = "队伍名称")
    private String name;

    /**
     * 描述
     */
    @Schema(description = "描述")
    private String description;

    /**
     * 0 - 公开，1 - 私有
     */
    @Schema(description = "0 - 公开，1 - 私有")
    private Integer status;

    /**
     * 密码
     */
    @Schema(description = "密码")
    private String password;

    /**
     * 过期时间
     */
    @Schema(description = "过期时间")
    private LocalDateTime expireTime;
}
